package org.springblade.mach.entity;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springblade.core.tool.node.BaseNode;
import lombok.Data;
import org.springblade.core.tool.node.TreeNode;
import org.springblade.mach.DrawingInfoNodeInteface;

import java.util.ArrayList;
import java.util.List;

/**
 * @author LY
 * @version 1.0
 * @date 2021/4/12 11:50
 */
@Data
public class DrawingInfoTreeNode<T> extends BaseNode<TreeNode> implements DrawingInfoNodeInteface {
	private static final long serialVersionUID = 1L;
	private String title;
	@JsonSerialize(
		using = ToStringSerializer.class
	)
	private Long key;
	@JsonSerialize(
		using = ToStringSerializer.class
	)
	private Long value;
	private Long infoId;
	private Long parentId;

	private String keyId;


	public DrawingInfoTreeNode(){}
}
